📌 If Condition
The If Condition action allows you to define conditional logic in your Pageflows by comparing values with various operators, enabling dynamic decision-making and flow control.
Configuration
- Field: Select the data field or variable to evaluate.
- Operator: Choose the comparison operator from:
Equals
Not Equals
Greater Than
Less Than
Greater Than Equals
Less Than Equals
- Value: Enter the value to compare against.
- Function (fx): Optionally use an expression or formula for advanced conditions.
Dropdown 1 | Dropdown 2 (Options) | Input Field | Function Button | Add Button | Delete Button |
---|---|---|---|---|---|
[Select] | string | Value | fx | + | 🗑️ |
Features
- Supports multiple comparison operators to cover typical conditional scenarios.
- Allows dynamic values through expressions.
- Supports adding multiple conditions.
- Enables deletion or modification of conditions easily.
Use Cases
- Control Pageflows branches based on variable values.
- Validate user inputs or system states.
- Trigger specific actions when conditions are met.
- Combine with other logic actions to build complex Pageflows.
Notes
- Ensure the selected field and value types are compatible with the chosen operator.
- Use descriptive field names for clarity.
- Multiple conditions can be combined for compound logic.
- Expressions provide advanced flexibility beyond static values.
Tip: Use the Add (+) button to include multiple conditions, and combine with custom code actions for complex decision logic.